package com.ruoyi.user.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 客户黑名单对象 t_user
 * 
 * @author ruoyi
 * @date 2025-04-16
 */
public class BlackUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户ID */
    private Long id;

    /** 公众号openid */
    private String openId;

    /** unionid */
    private String unionid;

    /** 电话 */
    @Excel(name = "电话")
    private String userTel;

    /** 性别 */
    @Excel(name = "性别")
    private Integer userSex;

    /** 头像 */
    @Excel(name = "头像")
    private String userAvatar;

    /** 昵称 */
    @Excel(name = "昵称")
    private String userNikeName;

    /** 微信昵称 */
    private String userWxName;

    /** 余额 */
    @Excel(name = "余额")
    private BigDecimal userBalance;

    /** 邀请码 */
    @Excel(name = "邀请码")
    private String userInvitationCode;

    /** 上级被邀请 */
    @Excel(name = "上级被邀请")
    private String userInvitedCode;

    /** 来源 */
    @Excel(name = "来源")
    private Integer userSource;

    /** 身份 */
    @Excel(name = "身份")
    private Integer userIdentity;

    /** 地区 */
    @Excel(name = "地区")
    private String userRegion;

    /** 逻辑删除（0=未删除，1=已删除） */
    private Integer isDelete;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setOpenId(String openId) 
    {
        this.openId = openId;
    }

    public String getOpenId() 
    {
        return openId;
    }
    public void setUnionid(String unionid) 
    {
        this.unionid = unionid;
    }

    public String getUnionid() 
    {
        return unionid;
    }
    public void setUserTel(String userTel) 
    {
        this.userTel = userTel;
    }

    public String getUserTel() 
    {
        return userTel;
    }
    public void setUserSex(Integer userSex) 
    {
        this.userSex = userSex;
    }

    public Integer getUserSex() 
    {
        return userSex;
    }
    public void setUserAvatar(String userAvatar) 
    {
        this.userAvatar = userAvatar;
    }

    public String getUserAvatar() 
    {
        return userAvatar;
    }
    public void setUserNikeName(String userNikeName) 
    {
        this.userNikeName = userNikeName;
    }

    public String getUserNikeName() 
    {
        return userNikeName;
    }
    public void setUserWxName(String userWxName) 
    {
        this.userWxName = userWxName;
    }

    public String getUserWxName() 
    {
        return userWxName;
    }
    public void setUserBalance(BigDecimal userBalance) 
    {
        this.userBalance = userBalance;
    }

    public BigDecimal getUserBalance() 
    {
        return userBalance;
    }
    public void setUserInvitationCode(String userInvitationCode) 
    {
        this.userInvitationCode = userInvitationCode;
    }

    public String getUserInvitationCode() 
    {
        return userInvitationCode;
    }
    public void setUserInvitedCode(String userInvitedCode) 
    {
        this.userInvitedCode = userInvitedCode;
    }

    public String getUserInvitedCode() 
    {
        return userInvitedCode;
    }
    public void setUserSource(Integer userSource) 
    {
        this.userSource = userSource;
    }

    public Integer getUserSource() 
    {
        return userSource;
    }
    public void setUserIdentity(Integer userIdentity) 
    {
        this.userIdentity = userIdentity;
    }

    public Integer getUserIdentity() 
    {
        return userIdentity;
    }
    public void setUserRegion(String userRegion) 
    {
        this.userRegion = userRegion;
    }

    public String getUserRegion() 
    {
        return userRegion;
    }
    public void setIsDelete(Integer isDelete) 
    {
        this.isDelete = isDelete;
    }

    public Integer getIsDelete() 
    {
        return isDelete;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("openId", getOpenId())
            .append("unionid", getUnionid())
            .append("userTel", getUserTel())
            .append("userSex", getUserSex())
            .append("userAvatar", getUserAvatar())
            .append("userNikeName", getUserNikeName())
            .append("userWxName", getUserWxName())
            .append("userBalance", getUserBalance())
            .append("userInvitationCode", getUserInvitationCode())
            .append("userInvitedCode", getUserInvitedCode())
            .append("userSource", getUserSource())
            .append("userIdentity", getUserIdentity())
            .append("userRegion", getUserRegion())
            .append("isDelete", getIsDelete())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
